package com.young.financial.controller;

import com.young.financial.service.YsWechatPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * @api
 * @apiExample author zhaopengjun
 * tar
 * date  2019/11/2015:41
 * @apiGroup
 * @apiVersion
 * @apiHeader
 * @apiParam
 * @apiSuccess
 */
@RestController
@RequestMapping("/ysWechatPay")
public class YsWechatPayController {
    @Autowired(required = false)
    private YsWechatPayService ysWechatPayService;
    @PostMapping("/yswechatpay")
    public Map<String,Object> yswechatpay(@RequestBody String requestStr){
        return ysWechatPayService.yswechatpay(requestStr);
    }
}
